package com.sree.tali.pojo;

import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;

public class UploadImagePojo
  extends ActionForm
{
  private String folderName;
  private String subfolderName;
  private String directoryname;
  private String articleType;
  private FormFile image;
  private FormFile image1;
  private FormFile image2;
  private FormFile image3;
  private List<FormFile> imageList = new ArrayList();
  private List<String> folders = new ArrayList();
  private List<String> subFolders = new ArrayList();
  private List<String> articlList = new ArrayList();
  private List<String> subArticleList = new ArrayList();
  private String filPath;
  private String imagePath;
  private String articleSubType;
  private String content;
  private int id;
  private String title;
  private String description;
  private int count;
  private String password;
  private String username;
  private String repassword;
  private String ppassword;
  private String ipaddress;
  private String ippassword;
  private String ipnames;
  private String viewArticleType;
  private String viewStatus;
  private int articleNumber=0;
  private String createddate;
  private String metaData;
  private String url;
  
  private String role;
  private String role_user;
  private String role_role;
  private String role_article;
  private List<String> role_user_list;
  private List<String> role_article_list;
  private List<String> role_role_list;
  private FormFile articleImage;

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }
  
  

    public FormFile getArticleImage() {
        return articleImage;
    }

    public void setArticleImage(FormFile articleImage) {
        this.articleImage = articleImage;
    }
  
  

    public List<String> getRole_user_list() {
        return role_user_list;
    }

    public void setRole_user_list(List<String> role_user_list) {
        this.role_user_list = role_user_list;
    }

    public List<String> getRole_article_list() {
        return role_article_list;
    }

    public void setRole_article_list(List<String> role_article_list) {
        this.role_article_list = role_article_list;
    }

    public List<String> getRole_role_list() {
        return role_role_list;
    }

    public void setRole_role_list(List<String> role_role_list) {
        this.role_role_list = role_role_list;
    }
  
  

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getRole_user() {
        return role_user;
    }

    public void setRole_user(String role_user) {
        this.role_user = role_user;
    }

    public String getRole_role() {
        return role_role;
    }

    public void setRole_role(String role_role) {
        this.role_role = role_role;
    }

    public String getRole_article() {
        return role_article;
    }

    public void setRole_article(String role_article) {
        this.role_article = role_article;
    }
  
  

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
  
    public String getMetaData() {
        return metaData;
    }

    public void setMetaData(String metaData) {
        this.metaData = metaData;
    }

    public String getCreateddate() {
        return createddate;
    }

    public void setCreateddate(String createddate) {
        this.createddate = createddate;
    }
  
  
  public void reset(ActionMapping mapping, HttpServletRequest request) {
this.username = null;
this.password = null;
this.articleType=null;
this.description = null;
this.title=null;
this.directoryname=null;
this.subfolderName=null;
this.folderName = null;
this.repassword=null;
this.ipaddress=null;
this.ipnames=null;
this.ippassword=null;
this.ppassword=null;
this.image=null;
this.image1=null;
this.image2=null;
this.image3=null;
this.url=null;
this.articleNumber=0;
}

    public FormFile getImage1() {
        return image1;
    }

    public void setImage1(FormFile image1) {
        this.image1 = image1;
    }

    public FormFile getImage2() {
        return image2;
    }

    public void setImage2(FormFile image2) {
        this.image2 = image2;
    }

    public FormFile getImage3() {
        return image3;
    }

    public void setImage3(FormFile image3) {
        this.image3 = image3;
    }
  
  
    public String getIpnames() {
        return ipnames;
    }

    public void setIpnames(String ipnames) {
        this.ipnames = ipnames;
    }
  
  

    public int getArticleNumber() {
        return articleNumber;
    }

    public void setArticleNumber(int articleNumber) {
        this.articleNumber = articleNumber;
    }
  
    public String getViewArticleType() {
        return viewArticleType;
    }

    public void setViewArticleType(String viewArticleType) {
        this.viewArticleType = viewArticleType;
    }

    public String getViewStatus() {
        return viewStatus;
    }

    public void setViewStatus(String viewStatus) {
        this.viewStatus = viewStatus;
    }
  
  

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRepassword() {
        return repassword;
    }

    public void setRepassword(String repassword) {
        this.repassword = repassword;
    }

    public String getPpassword() {
        return ppassword;
    }

    public void setPpassword(String ppassword) {
        this.ppassword = ppassword;
    }

    public String getIpaddress() {
        return ipaddress;
    }

    public void setIpaddress(String ipaddress) {
        this.ipaddress = ipaddress;
    }

    public String getIppassword() {
        return ippassword;
    }

    public void setIppassword(String ippassword) {
        this.ippassword = ippassword;
    }

  

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
  private String status;
  
  

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
  
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
  
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

  
  
   
  
  

    public List<String> getArticlList() {
        return articlList;
    }

    public void setArticlList(List<String> articlList) {
        this.articlList = articlList;
    }

    public List<String> getSubArticleList() {
        return subArticleList;
    }

    public void setSubArticleList(List<String> subArticleList) {
        this.subArticleList = subArticleList;
    }

  
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getArticleSubType() {
        return articleSubType;
    }

    public void setArticleSubType(String articleSubType) {
        this.articleSubType = articleSubType;
    }
  
    
  
    public String getArticleType() {
        return articleType;
    }

    public void setArticleType(String articleType) {
        this.articleType = articleType;
    }

    public String getFilPath() {
        return filPath;
    }

    public void setFilPath(String filPath) {
        this.filPath = filPath;
    }
  
    
 /* 
  public List<FormFile> getImage() {
	    return this.image;
	}

	public void setImage(int iIndex, FormFile formFile) {
	    this.image.add(formFile);
	}
        */
  
  
  public List<String> getSubFolders()
  {
    return this.subFolders;
  }
  
  public void setSubFolders(List<String> subFolders)
  {
    this.subFolders = subFolders;
  }
  
  public String getFolderName()
  {
    return this.folderName;
  }
  
  public void setFolderName(String folderName)
  {
    this.folderName = folderName;
  }
  
  public String getSubfolderName()
  {
    return this.subfolderName;
  }
  
  public void setSubfolderName(String subfolderName)
  {
    this.subfolderName = subfolderName;
  }
  
  public String getDirectoryname()
  {
    return this.directoryname;
  }
  
  public void setDirectoryname(String directoryname)
  {
    this.directoryname = directoryname;
  }
  
  public FormFile getImage()
  {
    return this.image;
  }
  
  public void setImage(FormFile image)
  {
    this.image = image;
  }
/*  
  public void setImage(int iIndex, FormFile image)
  {
    this.image = image;
    setImageList(image);
  }
  public List<FormFile> getImageList()
  {
    return this.imageList;
  }
  
  public void setImageList(FormFile image)
  {
    this.imageList.add(image);
  }
  */
  public List<String> getFolders()
  {
    return this.folders;
  }
  
  public void setFolders(List<String> folders)
  {
    this.folders = folders;
  }
  
 
}
